<template>
  <div class="collection">
    <div id="big">
      <div id="bigRight">
        <div class="myOrder">
          <p>我的订单</p>
        </div>
        <div class="allBig">
      <div class="allOrder">
        <ul class="allOrderTop">
          <li>
            <ol>
              <li :class="orderStatus === 0 ? 'buttonOrderStatus' : ''" @click="getOrder()">全部订单</li>

              <el-badge :value="list.createNewCount" class="item" v-if="list.createNewCount > 0">
                <li :class="orderStatus === 1 ? 'buttonOrderStatus' : ''" @click="createNewCountButton()">待付款</li>
              </el-badge>
              <li v-else :class="orderStatus === 1 ? 'buttonOrderStatus' : ''" @click="createNewCountButton()" style="font-weight: 600;">待付款</li>

              <el-badge :value="list.sendCount" class="item" v-if="list.sendCount > 0">
                <li :class="orderStatus === 2 ? 'buttonOrderStatus' : ''" @click="sendCountButton()">待收货</li>
              </el-badge>
              <li v-else :class="orderStatus === 2 ? 'buttonOrderStatus' : ''" @click="sendCountButton()" style="font-weight: 600;">待收货</li>

              <el-badge :value="list.completeCount" class="item" v-if="list.completeCount > 0">
                <li :class="orderStatus === 3 ? 'buttonOrderStatus' : ''" @click="completeCountButton()">待评价</li>
              </el-badge>
              <li v-else :class="orderStatus === 3 ? 'buttonOrderStatus' : ''" @click="completeCountButton()" style="font-weight: 600;">待评价</li>

              <div style="clear:both;"></div>
            </ol>
          </li>
          <li class="allOrderTopLi">我的常购商品</li>
          <li class="allOrderTopLi">好货清仓</li>
          <li class="allOrderTopLastLi">
            <span>订单回收站</span>
            <div>
              <input type="text" placeholder="商品名称/商品编号/订单号">
              <button class="search"><i class="el-icon-search"></i></button>
              <button class="gao">高级<i class="el-icon-arrow-down"></i></button>
            </div>
          </li>
          <div class="clear:both;"></div>
        </ul>

      </div>
      <div class="details">
        <ul class="detailsUl">
          <div class="detailsUlDiv">
            <li class="detailsLiok detailsLi">近三个月订单<i class="allBig_i"></i>
              <ol>
                <li>近三个月订单</li>
                <li>今年内订单</li>
                <li>今年内订单</li>
                <li>2016年订单</li>
                <li>2015年订单</li>
                <li>2014年订单</li>
                <li>2014年以前订单</li>
              </ol>
            </li>
            <li class="detailsLi">订单详情</li>
            <div style="clear:both;"></div>
          </div>

          <li class="detailsLi1">收货人</li>
          <li class="detailsLi1">金额</li>
          <li class="detailsLi1 detailsLiok">全部状态<i class="allBig_i"></i>
            <ol>
              <li>全部状态</li>
              <li>等待付款</li>
              <li>等待收货</li>
              <li>已完成</li>
              <li>已取消</li>
            </ol>
          </li>
          <li class="detailsLi1">操作</li>
          <div style="clear:both;"></div>
        </ul>
      </div>

      <table class="table" v-for="item in list.orderVOList" :key="item.orderSn">
        <tr>
          <td colspan="7" style="background:#F7F7F7" >
            <span style="color:#AAAAAA">{{ item.createTime.replace(/T/g, ' ').replace(item.createTime.substring(item.createTime.length - 10, item.createTime.length), '') }}</span>
            <span><ruby style="color:#AAAAAA">订单号:</ruby> {{ item.orderSn }}</span>
            <span>MaxLen官方旗舰店<i class="table_i"></i></span>
            <el-popconfirm
              confirm-button-text='删除'
              cancel-button-text='取消'
              icon="el-icon-info"
              icon-color="red"
              title="确定删除这项订单吗？"
              @onConfirm="deleteOrderItem(item.orderSn)"
              style="float: right"
            >
              <el-button slot="reference" class="deleteOrderButton">
                <i style="font-size: 20px;"
                 class="el-icon-delete-solid"></i>
              </el-button>
            </el-popconfirm>
            <i class="table_i5 isShow"></i>
          </td>
        </tr>
        <tr class="tr">

          <td colspan="3">
            <div style="width: 740px;" v-for="t in item.orderItemVOS">
              <img style="width: 60px;height: 60px;" :src="t.skuPic" alt="" class="img">
              <div style="width: 430px;text-align: left" class="skuInfoButton">
                <p :title="t.skuName">{{ t.skuName.length > 30 ? t.skuName.substring(0, 30) + '...' : t.skuName }}</p>
<!--                <div><i class="table_i4"></i>找搭配</div>-->
              </div>
              <div style="width: 50px;">x{{ t.skuQuantity }}</div>
              <div style="float: right;">申请售后</div>
            </div>
          </td>

          <td>{{ item.receiverName }}<i><i class="table_i1"></i></i></td>
          <td style="color:#AAAAB1;">
            <p style="margin-bottom:5px;" :style="item.status === 0 ? {fontWeight: 'bold', color: 'black'} : {}">{{ item.status === 0 ? '应付' : '' }}￥{{ item.payAmount }}</p>
            <hr style="width:90%;margin-left: 5px;">
            <p style="margin-top: 5px;">在线支付</p>
          </td>
          <td>
            <ul>
              <div v-if="item.status === 4">
                <li style="color:#AAAAB1;margin-bottom: 5px;">已取消</li>
              </div>

              <div v-if="item.status === 0">
                <li style="color:red;">等待付款</li>
              </div>

              <div v-if="item.status === 1">
                <li style="color:rgb(60,133,39);">等待发货</li>
              </div>

              <div v-if="item.status === 2">
                <li style="color:rgb(60,133,39)">已经发货</li>
              </div>

              <div v-if="item.status === 3">
                <li style="color:#AAAAB1;margin-bottom: 5px;">已完成</li>
              </div>

              <div v-if="item.status !== 4 && item.status !== 3">
                <li style="margin:4px 0; " class="hide"><i style="font-size: 15px;margin-right: 5px;" class="el-icon-truck"></i>跟踪<a style="margin-left: 5px;" :style="item.status === 0 ? {color:'red'} : {color:'rgb(60,133,39)'}">●</a>
                  <div class="hi">
                    <div class="p-tit">
                      普通快递   运单号:390085324974
                    </div>
                    <div class="hideList">
                      <ul>
                        <li>
                          [北京市] 在北京昌平区南口公司进行签收扫描,快件已被拍照(您
                          的快件已签收,感谢您使用韵达快递)签收
                        </li>
                        <li>
                          [北京市] 在北京昌平区南口公司进行签收扫描,快件已被拍照(您
                          的快件已签收,感谢您使用韵达快递)签收
                        </li>
                        <li>
                          [北京昌平区南口公司] 在北京昌平区南口公司进行派件扫描
                        </li>
                        <li>
                          [北京市] 在北京昌平区南口公司进行派件扫描;派送业务员:业务员;联系电话:17319268636
                        </li>
                      </ul>
                    </div>
                  </div>
                </li>
              </div>

              <li class="tdLi">订单详情</li>
            </ul>
          </td>
          <td>

            <div v-if="item.status === 4">
              <button class="buttonLiJi">立即购买</button>
            </div>

            <div v-if="item.status === 0">
              <button class="buttonPay">付款</button>
              <p style="margin:4px 0; ">取消订单</p>
            </div>

            <div v-if="item.status === 2">
              <button class="buttonAck">确认收货</button>
            </div>

            <div v-if="item.status === 3">
              <p style="margin:4px 0; ">评价</p>
            </div>

            <div v-if="item.status !== 4">
              <p style="margin:4px 0; ">查看发票</p>
            </div>

          </td>
        </tr>
      </table>

<!--      <div class="order_btm">-->
<!--        <div>-->
<!--          <button>上一页</button>-->
<!--          <span>1</span>-->
<!--          <button>下一页</button>-->
<!--        </div>-->
<!--      </div>-->
      <div style="clear:both;"></div>
    </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Order',
  data() {
    return {
     list: {},
      orderStatus: 0
    }
  },
  created() {
    this.getOrder()
  },
  methods: {
    deleteOrderItem(orderSn){
      this.$store.dispatch('order/order/deleteOrder', orderSn)
        .then(() => {
          this.$message({
            message: "删除成功",
            type: "success"
          });
          this.getOrder()
        }).catch(()=>{})
    },
    getOrder(){
      this.orderStatus = 0
      this.$store.dispatch('order/order/getOrderAll')
        .then((data)=>{
          this.list = data.data
        })
        .catch(()=>{})
    },
    createNewCountButton(){
      this.orderStatus = 1
      this.$store.dispatch('order/order/getOrder', 0)
        .then((data)=>{
          console.log(data.data)
          this.list = data.data
        })
        .catch(()=>{})
    },
    sendCountButton(){
      this.orderStatus = 2
      this.$store.dispatch('order/order/getOrder', 2)
        .then((data)=>{
          console.log(data.data)
          this.list = data.data
        })
        .catch(()=>{})
    },
    completeCountButton(){
      this.orderStatus = 3
      this.$store.dispatch('order/order/getOrder', 3)
        .then((data)=>{
          console.log(data.data)
          this.list = data.data
        })
        .catch(()=>{})
    }
  }
}
</script>

<style lang="scss">
.el-badge__content.is-fixed{
  right: 30px;
  background-color: rgb(60,133,39);
}
</style>

<style lang="scss" scoped>

.deleteOrderButton{
  border: none;
  background-color: rgb(247, 247, 247);

  &:hover {
    cursor: pointer;
    color: red;
  }
}

.skuInfoButton{
  &:hover {
    color: rgb(60, 133, 39);
    cursor: pointer;
  }
}

.buttonOrderStatus{
  color: rgb(60,133,39);
  border-bottom: 2px solid rgb(60,133,39);
}

.buttonPay{
  background: white;
  color: red;
  border: 1px solid red;
  width: 87px;
  height: 25px;
  font-weight: 600;

  &:hover{
    color: white;
    background-color: red;
    cursor: pointer;
  }
}

.buttonAck{
  background: white;
  color: rgb(60,133,39);
  border: 1px solid rgb(60,133,39);
  width: 87px;
  height: 25px;
  font-weight: 600;

  &:hover{
    color: white;
    background-color: rgb(60,133,39);
    cursor: pointer;
  }
}

.buttonLiJi{
  background: white;
  color: rgb(150,150,150);
  border: 1px solid rgb(150,150,150);
  width: 87px;
  height: 25px;
  font-weight: 600;

  &:hover{
    color: white;
    background-color: rgb(150,150,150);
    cursor: pointer;
  }
}

.collection {
  height: 100%;
  width: 100%;
  background-color: rgb(245, 245, 245);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

li,
ol,
ul {
  list-style: none; }

a {
  text-decoration: none; }

button,
input {
  outline: none; }

body {
  background: #F3F3F3; }

#nav {
  width: 1349px;
  background: #E2231A;
  height: 80px; }

nav {
  width: 1210px;
  margin: 0 auto;
  height: 80px;
  color: white; }
nav .logo,
nav .myjd,
nav .nav_ul {
  float: left; }
nav .myjd {
  padding-top: 16px;
  margin-left: 10px;
  text-align: center; }
nav .myjd button {
  background: none;
  border: 1px solid #FFB2B2;
  color: #FFB2B2;
  border-radius: 10px;
  margin-top: 5px;
  padding: 1px 3px; }
nav .myjd button:hover {
  background: white;
  color: #E2231A; }
nav .nav_ul {
  padding-top: 30px;
  margin-left: 30px;
  text-align: center; }
nav .nav_ul > li {
  float: left;
  width: 106px;
  position: relative; }
nav .nav_ul > li ol {
  border: 1px solid #ccc;
  border-top: none;
  position: absolute;
  left: -1px;
  top: 21px;
  color: black;
  background: white;
  width: 106px;
  display: none;
  z-index: 100; }
nav .nav_ul > li ol li {
  font-size: 14px;
  height: 30px;
  line-height: 30px; }
nav .right {
  float: right;
  padding-top: 30px; }
nav .right .btn {
  background: #F7F7F7; }
nav .right .btn input {
  width: 128px;
  height: 32px;
  border: none;
  text-indent: 5px; }
nav .right .btn button {
  height: 30px;
  width: 42px;
  background: #F7F7F7;
  border: none;
  font-size: 12px; }
nav .right .shop {
  margin-left: 20px;
  height: 30px;
  width: 141px;
  background: white;
  color: #736F6A; }
nav .right .shop > li {
  font-size: 12px;
  line-height: 32px;
  position: relative; }
nav .right .shop > li ol {
  position: absolute;
  top: 31px;
  left: -160px;
  box-shadow: 0 0 2px 2px #F3F3F3;
  display: none; }
nav .right .shop > li ol li {
  width: 300px;
  height: 60px;
  background: white; }
nav .right .shop > li ol li img {
  float: left;
  margin-left: 50px; }
nav .right .shop > li ol li div {
  height: 60px;
  line-height: 60px; }
nav .right .shop > li .shop_che {
  margin: 0 10px 0 20px;
  display: inline-block;
  height: 14px;
  width: 15px;
  //background: url("../img/jd2015img.png") no-repeat -1px -58px;
}
nav .right .btn,
nav .right .shop {
  float: left; }

.nav_ul .li .ul_i {
  margin-left: 5px;
  display: inline-block;
  height: 6px;
  width: 9px;
  //background: url("../img/icon (1).png") no-repeat 0 0;
  transition: -webkit-transform 0.2s ease-in 0s;
  transition: transform 0.2s ease-in 0s;
  transition: transform 0.2s ease-in 0s,-webkit-transform 0.2s ease-in 0s; }

.nav_ul .hover .ul_i {
  background-position: 0 -15px;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg); }

#big {
  width: 1300px;
  margin: 20px auto;
}
#big #bigLeft {
  float: left;
  width: 120px; }
#big #bigLeft ul {
  margin-bottom: 15px; }
#big #bigLeft ul h5 {
  margin-bottom: 5px; }
#big #bigLeft ul li {
  font-size: 12px;
  width: 100px;
  height: 24px;
  color: #777777; }
#big #bigLeft ul li img {
  margin-left: 3px;
  vertical-align: middle; }
#big #bigLeft ul li:hover {
  color: #E4393C;
  text-decoration: underline; }
#big #bigRight {
  width: 1300px;
  //float: left;
}
#big #bigRight .myOrder {
  background: white;
  height: 58px;
  line-height: 58px;
  margin-bottom: 20px; }
#big #bigRight .myOrder p {
  font-size: 14px;
  font-weight: bold;
  color: black;
  margin-left: 20px; }
#big #bigRight .allOrder {
  overflow: hidden;
  padding: 15px;
  background: white;
  line-height: 27px;
}
#big #bigRight .allOrder .allOrderTop {
  font-size: 13px; }
#big #bigRight .allOrder .allOrderTop ol {
  padding-right: 10px; }
#big #bigRight .allOrder .allOrderTop ol li {
  float: left;
  margin-right: 25px;

  &:hover{
    cursor: pointer;
    color: rgb(60,133,39);
  }
}
#big #bigRight .allOrder .allOrderTop ol li:first-child {
  //color: rgb(60,133,39);
  //border-bottom: 3px solid rgb(60,133,39);
  //text-decoration: underline;
  font-weight: 600;
}
#big #bigRight .allOrder .allOrderTop > li {
  float: left;
  border-right: 1px solid #ccc; }
#big #bigRight .allOrder .allOrderTop .allOrderTopLi {
  width: 153px;
  text-align: center;
  font-weight: 600; }
#big #bigRight .allOrder .allOrderTop .allOrderTopLastLi {
  float: right;
  display: flex; }
#big #bigRight .allOrder .allOrderTop .allOrderTopLastLi span {
  display: inline-block;
  margin-right: 100px; }
#big #bigRight .allOrder .allOrderTop .allOrderTopLastLi div {
  display: flex;
  align-items: center; }
#big #bigRight .allOrder .allOrderTop .allOrderTopLastLi div input {
  width: 170px;
  font-size: 12px;
  height: 30px;
  border: 1px solid #ccc;
  padding-left: 10px;
}
#big #bigRight .allOrder .allOrderTop .allOrderTopLastLi div .search {
  display: inline-block;
  width: 50px;
  height: 30px;
  border: 1px solid #ccc;
  //background: url("../img/order-icons.png") no-repeat 0 -55px;
}
#big #bigRight .allOrder .allOrderTop .allOrderTopLastLi div .gao {
  display: inline-block;
  width: 60px;
  height: 30px;
  border: 1px solid #ccc;
}
#big #bigRight .allOrder .allOrderTop .allOrderTopLastLi div .gao i {
  display: inline-block;
  height: 8px;
  width: 5px;
  //background: url("../img/order-icons.png") no-repeat -37px -207px;
}
#big #bigRight .details {
  width: 1250px;
  background: white;
  margin-left: 15px;
}
#big #bigRight .details .detailsUl {
  background: #F3F3F3; }
#big #bigRight .details .detailsUl .detailsLiok {
  position: relative; }
#big #bigRight .details .detailsUl .detailsLiok ol {
  background: white;
  position: absolute;
  left: -1px;
  top: 31px;
  display: none;
  border: 1px solid #ccc;
  border-top: none;
  width: 110px;
  z-index: 100; }
#big #bigRight .details .detailsUl .detailsLiok ol li {
  height: 32px;
  line-height: 32px;
  width: 106px; }
#big #bigRight .details .detailsUl > li {
  float: left;
  font-size: 14px;
  text-align: center;
  height: 32px;
  line-height: 32px;
  width: 110px;
  margin-left: 10px; }
#big #bigRight .details .detailsUl .detailsUlDiv {
  width: 760px;
  background: #F3F3F3;
  float: left;
  text-align: center;
  font-size: 14px; }
#big #bigRight .details .detailsUl .detailsUlDiv > li:first-child {
  margin: 0 20px;
  position: relative; }
#big #bigRight .details .detailsUl .detailsUlDiv > li:first-child ol {
  position: absolute;
  top: 30px;
  left: -1px;
  width: 138px;
  display: none;
  border: 1px solid #ccc;
  border-top: none;
  background: white; }
#big #bigRight .details .detailsUl .detailsUlDiv > li:first-child ol li {
  height: 32px;
  line-height: 32px;
  width: 136px; }
#big #bigRight .details .detailsUl .detailsLi {
  width: 138px;
  float: left;
  height: 32px;
  line-height: 32px; }

.allBig {
  width: 1300px;
  min-height: 722px;
  padding: 10px 10px 20px;
  background: white; }
.allBig .allBig_i {
  margin-left: 10px;
  display: inline-block;
  width: 9px;
  height: 6px;
  //background: url("../img/order-icons.png") no-repeat -36px -207px;
}
.allBig .allBig_i1 {
  margin-left: 10px;
  display: inline-block;
  width: 9px;
  height: 6px;
  //background: url("../img/order-icons.png") no-repeat -20px -207px;
}
.allBig .table {
  margin-top: 20px;
  margin-left: 15px;
  width: 1250px;
  border: 1px solid #ccc;
  font-size: 12px;
}
.allBig .table td {
  width: 115px;
  border-right: 1px solid #ccc;
  text-align: center; }
.allBig .table td:last-child {
  border: none; }
.allBig .table tr:first-child td {
  padding: 8px 0;
  text-indent: 8px;
  text-align: left;
  position: relative; }
.allBig .table tr:first-child td .isShow {
  display: none; }
.allBig .table tr:first-child td .table_i5 {
  position: absolute;
  right: 10px;
  top: 9px; }
.allBig .table tr:first-child td span {
  display: inline-block;
  margin-right: 30px;
  font-size: 12px; }
.allBig .table tr:first-child td span .table_i {
  display: inline-block;
  width: 16px;
  height: 16px;
  //background: url("../img/sprite-im.png") no-repeat -26px 0;
  vertical-align: middle;
  margin-left: 10px; }
.allBig .table .tr td:first-child {
  font-size: 12px;
  padding: 0 0 0 5px;
  width: 560px; }
.allBig .table .tr td:first-child p:hover {
  color: rgb(60, 133, 39); }
.allBig .table .tr td:first-child .img {
  float: left;
  margin: 10px 5px;
  border: 1px solid #ccc; }
.allBig .table .tr td:first-child div {
  float: left;
  margin: 10px 5px; }
.allBig .table td .table_i1 {
  width: 14px;
  height: 16px;
  //background: url("../img/order-icons.png") no-repeat 0 -24px;
  display: inline-block;
  vertical-align: middle; }
.allBig .table td .table_i2 {
  width: 22px;
  height: 16px;
  display: inline-block;
  //background: url("../img/order-icons.png") no-repeat -48px -24px;
  vertical-align: middle;
  margin-right: 5px; }
.allBig .table td .table_i3 {
  width: 7px;
  height: 7px;
  display: inline-block;
  //background: url("../img/order-icons.png") no-repeat 0 -115px;
  vertical-align: middle;
  margin-left: 5px; }
.allBig .table td .table_i4 {
  width: 14px;
  height: 16px;
  display: inline-block;
  //background: url("../img/zhaodapei.png") no-repeat -57px 0;
  margin-right: 5px; }
.allBig .table td .table_i5 {
  width: 13px;
  height: 14px;
  display: inline-block;
  //background: url("../img/order-icons.png") no-repeat -23px -131px;
}
.allBig .table td .table_i51 {
  width: 13px;
  height: 14px;
  display: inline-block;
  //background: url("../img/order-icons.png") no-repeat 0 -131px;
  position: absolute;
  right: 10px;
  top: 9px; }
//.allBig .table td button {
//  background: white;
//  color: rgb(60,133,39);
//  border: 1px solid rgb(60,133,39);
//  width: 87px;
//  height: 25px;
//  font-weight: 600;
//}
//.allBig .table td button:hover {
//  cursor: pointer;
//  color: white;
//  background: rgb(60,133,39);
//}
.allBig .table td:last-child p:hover {
  color: #E4393C; }
.allBig .table td .tdLi:hover {
  color: rgb(60, 133, 69);
  cursor: pointer;
}
.allBig .order_btm div {
  float: right;
  margin-right: 20px;
  margin-top: 15px; }
.allBig .order_btm div span {
  color: red; }
.allBig .order_btm div button {
  height: 28px;
  width: 78px;
  border: 1px solid #ccc;
  background: none;
  border-radius: 6px; }

.buy {
  font-size: 14px;
  background: white;
  margin-top: 20px; }
.buy .buy_top {
  padding: 10px; }
.buy .buy_top div:first-child {
  font-weight: 600;
  float: left; }
.buy .buy_top div:last-child {
  float: right;
  font-size: 12px;
  margin-right: 9px; }
.buy .buy_btm {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 17px; }
.buy .buy_btm dl {
  float: left;
  border: 1px solid #ccc;
  width: 248px;
  width: 248px;
  padding: 0 10px;
  margin-right: 20px; }
.buy .buy_btm dl dt {
  text-align: center; }
.buy .buy_btm dl dt div {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 15px;
  margin-bottom: 3px;
  font-size: 20px;
  font-weight: 700px;
  color: #666666; }
.buy .buy_btm dl dt p {
  color: #E7513C;
  margin-bottom: 10px; }
.buy .buy_btm dl .ab_goods div:first-child {
  border: 1px solid #ccc; }
.buy .buy_btm dl .ab_goods > div {
  float: left; }
.buy .buy_btm dl .ab_goods > div img {
  display: block; }
.buy .buy_btm dl .ab_goods > div img:nth-child(2) {
  margin: 2.5px 0; }
.buy .buy_btm dl .ab_goods > div div {
  height: 50px;
  width: 48px;
  line-height: 50px;
  text-align: center;
  font-size: 30px;
  font-weight: 300;
  color: #9C9FA8;
  border: 1px solid #ccc;
  margin-top: 4px; }
.buy .buy_btm dl .ab_operate ul {
  padding-top: 8px;
  padding-bottom: 10px; }
.buy .buy_btm dl .ab_operate ul li {
  float: left;
  width: 103px; }
.buy .buy_btm dl .ab_operate ul li i {
  margin-right: 5px; }
.buy .buy_btm dl .ab_operate ul li:first-child {
  border-right: 1px solid #ccc; }
.buy .buy_btm dl .ab_operate ul li:nth-child(2) {
  text-align: right; }
.buy .buy_btm dl:nth-child(4) {
  margin-right: 0; }
.buy .buy_btm .buy_btm_i1 {
  width: 28px;
  height: 28px;
  display: inline-block;
  //background: url("../img/1.png") no-repeat 0 0;
  vertical-align: middle; }
.buy .buy_btm .buy_btm_i1_1 {
  width: 28px;
  height: 28px;
  display: inline-block;
  //background: url("../img/1.png") no-repeat -56px 0;
  vertical-align: middle; }
.buy .buy_btm .buy_btm_i2 {
  width: 28px;
  height: 28px;
  display: inline-block;
  //background: url("../img/1.png") no-repeat -84px 0;
  vertical-align: middle; }
.buy .buy_btm .buy_btm_i2_1 {
  width: 28px;
  height: 28px;
  display: inline-block;
  //background: url("../img/1.png") no-repeat -140px 0;
  vertical-align: middle; }

.mySwiper {
  margin-top: 20px;
  background: white;
  height: 322px;
  margin-bottom: 20px;
  padding-top: 10px;
  padding-bottom: 20px;
  padding-right: 20px; }
.mySwiper .mySwiper_like .left {
  float: left;
  font-size: 14px;
  margin-left: 20px; }
.mySwiper .mySwiper_like ol {
  float: right; }
.mySwiper .mySwiper_like ol li {
  float: left;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #ccc;
  text-align: center;
  line-height: 26px;
  margin-right: 5px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer; }
.mySwiper ul {
  width: 1089px;
  position: relative; }
.mySwiper ul li {
  position: absolute;
  top: 20px;
  background: white;
  width: 1089px;
  display: none;
  padding-bottom: 30px; }
.mySwiper ul li dl {
  width: 200px;
  float: left;
  margin-left: 15px; }
.mySwiper ul li dl dt {
  text-align: center; }
.mySwiper ul li dl dd {
  text-align: left;
  padding-left: 20px; }
.mySwiper ul li dl dd div {
  font-size: 12px;
  color: #666666; }
.mySwiper ul li dl dd p {
  font-size: 14px;
  font-weight: 600;
  color: #E4393C; }
.mySwiper ul li dl dd span {
  font-size: 12px;
  color: #3F72AC; }

#logo {
  background: white;
  width: 1089px;
  padding: 10px; }
#logo img {
  text-align: center; }

.footer {
  width: 1349px;
  padding-bottom: 18px;
  background: #eaeaea; }
.footer .top {
  width: 1210px;
  height: 102px;
  margin: 0 auto; }
.footer .top ul {
  padding-top: 30px;
  padding-left: 42px; }
.footer .top ul .item {
  float: left;
  width: 292px;
  height: 42px;
  line-height: 42px;
  font-size: 18px;
  font-weight: bold;
  color: #444; }
.footer .top ul .item i {
  float: left;
  display: block;
  top: 0;
  left: 0;
  width: 36px;
  height: 42px;
  text-indent: -9999px;
  //background-image: url("../img/ico_service.png");
  background-repeat: no-repeat;
  background-position: 0 0;
  margin-right: 5px; }
.footer .top ul .fore2 i {
  background-position: 0 -43px; }
.footer .top ul .fore3 i {
  background-position: 0 -86px; }
.footer .top ul .fore4 i {
  background-position: 0 -129px; }
.footer .wrap {
  width: 100%;
  height: 202px;
  border-top: solid 1px #dedede;
  border-bottom: solid 1px #dedede; }
.footer .wrap .wrap1 {
  width: 1210px;
  height: 202px;
  margin: 0 auto; }
.footer .wrap .wrap1 .wrap2 {
  width: 1181px;
  height: 202px;
  padding-top: 20px;
  padding-left: 45px; }
.footer .wrap .wrap1 .wrap2 dl:first-child {
  margin: 0; }
.footer .wrap .wrap1 .wrap2 dl {
  width: 150px;
  float: left;
  margin-left: 70px;
  margin-right: 20px; }
.footer .wrap .wrap1 .wrap2 dl dt {
  padding-bottom: 6px;
  font-weight: 700;
  font-size: 14px;
  color: #777;
  height: 22px; }
.footer .wrap .wrap1 .wrap2 dl dd {
  font-size: 12px;
  color: #666;
  height: 22px; }
.footer .wrap .wrap1 .wrap2 dl dd:hover {
  color: #f30213; }
.footer .p1 {
  width: 1240px;
  height: 18px;
  margin: 20px auto 5px; }
.footer .p1 a {
  width: 69px;
  text-align: center;
  display: inline-block;
  color: #666;
  float: left;
  font-size: 12px;
  margin-right: 5px;
  margin-left: 5px;
  border-right: 1px solid #666; }
.footer .p1 a:hover {
  color: #f30213; }
.footer .p2 {
  width: 1210px;
  height: 18px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 5px; }
.footer .p2 a {
  display: inline-block;
  padding: 5px;
  color: #999;
  font-size: 11px; }
.footer .p2 a:hover {
  color: #f30213; }
.footer .p3 {
  width: 1210px;
  height: 22px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 5px; }
.footer .p3 a {
  display: inline-block;
  padding: 5px;
  color: #999;
  font-size: 11px; }
.footer .p3 a:hover {
  color: #f30213; }
.footer .p4 {
  width: 1210px;
  height: 22px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 5px; }
.footer .p4 a {
  display: inline-block;
  padding: 5px;
  color: #999;
  font-size: 11px; }
.footer .p4 a:hover {
  color: #f30213; }
.footer .p5 {
  width: 1210px;
  height: 22px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 5px; }
.footer .p5 a {
  display: inline-block;
  padding: 5px;
  color: #999;
  font-size: 11px; }
.footer .p5 a:hover {
  color: #f30213; }
.footer .img {
  width: 727px;
  height: 32px;
  margin: 0 auto;
  text-align: center;
  padding-left: 64px; }
.footer .img .span {
  display: inline-block;
  float: left;
  margin: 0 3px;
  width: 103px;
  height: 32px;
  //background-image: url("../img/ico_footer.png");
  background-position: 0 0;
  background-repeat: no-repeat; }
.footer .img .icon2 {
  background-position: -104px 0; }
.footer .img .icon3 {
  background-position: 0 -33px; }
.footer .img .icon4 {
  background-position: -104px -33px; }
.footer .img .icon5 {
  background-position: 0 -66px; }
.footer .img .icon6 {
  background-position: -104px -66px; }

.fixed {
  position: fixed;
  right: 0;
  bottom: 200px;
  text-align: right; }
.fixed .teSe {
  text-align: right;
  width: 40px; }
.fixed ul {
  width: 40px;
  padding-left: 40px; }
.fixed .test_li1 {
  width: 40px;
  height: 40px;
  //background: #ccc url("../img/tese.png") no-repeat 0 -1px;
  border-bottom: 1px solid white;
  position: relative; }
.fixed .test_li1 div {
  position: absolute;
  top: 115px;
  left: 120px;
  border: 3px solid transparent;
  border-left-color: white;
  /* border-right-color: green;
  border-top-color: yellow;
  border-bottom-color: blue; */
  height: 0;
  width: 0; }
.fixed .test_li1 ol {
  position: absolute;
  left: -120px;
  top: -100px;
  background: white;
  padding: 10px;
  display: none; }
.fixed .test_li1 ol > li {
  width: 100px;
  text-align: left;
  font-size: 12px;
  height: 30px;
  color: #666; }
.fixed .test_li1 ol > li:hover {
  color: #E4393C;
  transform: translateX(3px); }
.fixed .test_li1:hover {
  //background: #C81623 url("../img/tese.png") no-repeat 0 -1px;
}
.fixed .test_li2 {
  width: 40px;
  height: 40px;
  //background: #ccc url("../img/tese.png") no-repeat 0 -46px;
}
.fixed .test_li2:hover {
  background-position: -52px -40px; }
.fixed .test_li3 {
  width: 40px;
  height: 40px;
  border-top: 1px dotted white;
  display: block;
  display: none;
  //background: #ccc url("../img/tese.png") no-repeat 0 -88px;
}
.fixed .test_li3:hover {
  //background: #C81623 url("../img/tese.png") no-repeat 0 -88px;
}

.hide {
  position: relative; }
.hide .hi {
  position: absolute;
  max-height: 410px;
  padding-left: 5px;
  margin-bottom: 20px;
  line-height: 20px;
  top: -102px;
  right: 105px;
  z-index: 100;
  text-align: left;
  min-width: 337px;
  background: white;
  box-shadow: -3px -3px 20px 0px #ccc;
  display: none; }
.hide .hi .p-tit {
  height: 40px;
  line-height: 40px;
  font-weight: 700;
  border-bottom: 1px solid  #e3e3e3;
  padding-top: 0;
  padding-left: 10px;
  padding-bottom: 18px; }
.hide .hi .hideList ul li {
  margin-bottom: 20px;
  width: 340px;
  padding: 15px 10px 0 15px;
  border-left: 1px solid #e3e3e3; }

/*# sourceMappingURL=index.css.map */

</style>
